package org.csmzxy.class2333.innerclass;

public class Example16 {
    public static void main(String[] args) {
        DeviceController controller = new DeviceController("设备控制");
        controller.connectToDevice();
        DeviceController.Device device = controller.new Device("设备1");
        device.powerOn();
        device.powerOff();
    }
}
